package com.fahai.common;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * @Description
 * @Author heshichao
 * @Time 下午1:48
 * @Version 1.0
 */
@Component
public class RecordUpload {

    private static final Logger logger = LoggerFactory.getLogger(RecordUpload.class);

    private final static ExecutorService executor = Executors.newFixedThreadPool(10);

    @Scheduled(cron = "10/10 * * * * ?")
    public void uploadRecordAsync() {

    }

}
